#include <iostream>
using namespace std;

int main() {

	int n;
	cin>>n;
	int left=1,right=n;
	while(left<right){
		cout<<left<<' ';
		cout<<right<<' ';
		++left,--right;
	}
	if(n&1){
		cout<<left;
	}
	
	return 0;
}
